import Vue from 'vue'
import App from './App.vue'
import router from './router'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

Vue.config.productionTip = false

import axios from 'axios';
const instance = axios.create({
  baseURL: 'http://localhost:8080'
});
Vue.prototype.$axios=instance;

// Set config defaults when creating the instance


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')


